import 'package:flutter/material.dart';

class Textcase extends StatelessWidget {
  const Textcase({super.key});

  @override
  Widget build(BuildContext context) {
    return Container(
      width: 200,
      height: 200,
      decoration: const BoxDecoration(color: Colors.blue),
      child: const Text(
        "相见时难别亦难，春风无力百花残",
        style: TextStyle(
            color: Colors.orange,
            fontSize: 20,
            fontWeight: FontWeight.w800,
            decoration: TextDecoration.underline,
            decorationThickness: 3,
            decorationColor: Colors.red),
        maxLines: 1,
        overflow: TextOverflow.ellipsis,
      ),
    );
  }
}
